package sample.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/*
 * @author ding
 * @date 2022/1/14 14:49:15
 */
@RequestMapping("index")
@RestController
public class IndexController {

	@GetMapping
	public String index(@RequestParam("name") String msg) {
		return msg;
	}
}
